package com.ap.core.bulkupload.provider;

import com.ap.core.bulkupload.service.ManageMerchantService;
import com.ap.core.bulkupload.jaxb.domain.Merchant;

/**
 * The Interface MerchantRegistrationServiceProvider.
 */
public interface MerchantRegistrationServiceProvider {

	/**
	 * Register merchant.
	 * 
	 * @param distributorId
	 *            the distributor id
	 * @param merchant
	 *            the merchant
	 * @return true, if successful
	 */
	boolean registerMerchant(String distributorId, Merchant merchant);

	/**
	 * Sets the manage merchant service.
	 * 
	 * @param manageMerchantService
	 *            the manageMerchantService to set
	 */
	void setManageMerchantService(ManageMerchantService manageMerchantService);

}